//
//  LoverCollectionViewCell.m
//  TextApplication
//
//  Created by Apple on 16/9/6.
//  Copyright © 2016年 yh. All rights reserved.
//

#import "LoverCollectionViewCell.h"
#import "TAMacro.h"

@implementation LoverCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        _picImageView = [[UIImageView alloc] init];
        _userLabel = [[UILabel alloc] init];
    }
    return self;
}

- (void)layoutSubviews {
    [super layoutSubviews];
    _picImageView.frame = CGRectMake(0, 0, CONTENTWIDTH, CONTENTHEIGHT - 35);
    _picImageView.backgroundColor = [UIColor colorWithWhite:0.165 alpha:1.000];
    [self.contentView addSubview:self.picImageView];
    
    _userLabel.frame = CGRectMake(0, CONTENTHEIGHT - 35, CONTENTWIDTH, 30);
    _userLabel.textColor = [UIColor whiteColor];
    _userLabel.font = [UIFont systemFontOfSize:14];
    [self.contentView addSubview:self.userLabel];

}



@end
